package com.example.gulimall.common.service;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;


/**
 * <p>@description: 权限控制  </p>
 * <p>@author: JGD </p>
 * <p>@create: 2020/3/16 10:03 </p>
 * <p>@version : 2.0.0
 **/
public interface RbacService {
    boolean hasPermission(HttpServletRequest request, Authentication authentication);
}
